//
//  Object.swift
//  Factory
//
//  Created by Mr.H on 2017/5/23.
//  Copyright © 2017年 han. All rights reserved.
//

import UIKit

class Object: NSObject {

    var adaptee: Adaptee
    
    override init() {
        self.adaptee = Adaptee()
    }
    
}

extension Object: Target {

    func getCNY() -> Float {
        
        return adaptee.getUSD() * 0.87
        
    }

}
